<?php
namespace app\admin\model;

use think\Model;

class User extends Model
{
    protected $name = 'user';


    public static function findUserInfoByUser(Model $model,$where=[])
    {
       return $model->where($where)->find()->toArray();
    }
}